package com.lxy.code.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author 123
 * @date 2020/6/28 17:42
 * @description
 */
@FeignClient(value = "lagou-service-email")
public interface SendEmailCodeServiceFeignClient {

    @PostMapping("email/{email}/{code}")
    public Boolean sendCode(@PathVariable("email") String email, @PathVariable("code") String code);

}
